package com.cinc.ebc.pp.workOrderProcess.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 生产工单加工明细
 * @Author: jeecg-boot
 * @Date:   2024-04-05
 * @Version: V1.0
 */
@Data
@TableName("pp_work_order_process")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="pp_work_order_process对象", description="生产工单加工明细")
public class PpWorkOrderProcess implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**工单ID*/
	@Excel(name = "工单ID", width = 15)
    @ApiModelProperty(value = "工单ID")
    private java.lang.String workOrderId;
	/**工艺路线ID*/
	@Excel(name = "工艺路线ID", width = 15)
    @ApiModelProperty(value = "工艺路线ID")
    private java.lang.String routeDetailId;
    /**工艺路线分类编号*/
    @Excel(name = "工艺路线分类编号", width = 15)
    @ApiModelProperty(value = "工艺路线分类编号")
    private java.lang.String routeClassNo;
	/**工序号*/
	@Excel(name = "序号", width = 15)
    @ApiModelProperty(value = "序号")
    private java.lang.Integer seqNo;
    /**工序编号*/
    @Excel(name = "工序编号", width = 15)
    @ApiModelProperty(value = "工序编号")
    private String processNo;
	/**工序名称*/
	@Excel(name = "工序名称", width = 15)
    @ApiModelProperty(value = "工序名称")
    private java.lang.String processName;
	/**工作中心*/
    @Excel(name = "工作中心", width = 15, dictTable = "mdm_work_center", dicText = "name", dicCode = "id")
    @Dict(dictTable = "mdm_work_center", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "工作中心")
    private java.lang.String workId;
	/**工序状态*/
	@Excel(name = "工序状态", width = 15, dicCode = "pp_process_status")
	@Dict(dicCode = "pp_process_status")
    @ApiModelProperty(value = "工序状态")
    private java.lang.String status;
	/**加工数量*/
	@Excel(name = "加工数量", width = 15)
    @ApiModelProperty(value = "加工数量")
    private java.math.BigDecimal qty;
	/**合格数量*/
	@Excel(name = "合格数量", width = 15)
    @ApiModelProperty(value = "合格数量")
    private java.math.BigDecimal checkQty;
	/**报废数量*/
	@Excel(name = "报废数量", width = 15)
    @ApiModelProperty(value = "报废数量")
    private java.math.BigDecimal scrapQty;
	/**返修数量*/
	@Excel(name = "返修数量", width = 15)
    @ApiModelProperty(value = "返修数量")
    private java.math.BigDecimal reworkQty;
    /**不合格数量*/
    @Excel(name = "不合格数量", width = 15)
    @ApiModelProperty(value = "不合格数量")
    private java.math.BigDecimal uncheckQty;
    /**接收数量*/
    @Excel(name = "接收数量", width = 15)
    @ApiModelProperty(value = "接收数量")
    private java.math.BigDecimal receiveQty;
	/**面积*/
	@Excel(name = "面积", width = 15)
    @ApiModelProperty(value = "面积")
    private java.math.BigDecimal areaNum;
	/**重量*/
	@Excel(name = "重量", width = 15)
    @ApiModelProperty(value = "重量")
    private java.math.BigDecimal weight;
	/**计划开工期*/
	@Excel(name = "计划开工期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "计划开工期")
    private java.util.Date planStartDate;
	/**实际开工期*/
	@Excel(name = "实际开工期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "实际开工期")
    private java.util.Date actStartDate;
	/**计划完工期*/
	@Excel(name = "计划完工期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "计划完工期")
    private java.util.Date planEndDate;
	/**实际完工期*/
	@Excel(name = "实际完工期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "实际完工期")
    private java.util.Date actEndDate;
	/**标准工时*/
	@Excel(name = "标准工时", width = 15)
    @ApiModelProperty(value = "标准工时")
    private java.math.BigDecimal standardTime;
	/**准备工时*/
	@Excel(name = "准备工时", width = 15)
    @ApiModelProperty(value = "准备工时")
    private java.math.BigDecimal prepareTime;
	/**等待工时*/
	@Excel(name = "等待工时", width = 15)
    @ApiModelProperty(value = "等待工时")
    private java.math.BigDecimal waitTime;
	/**工时单位*/
	@Excel(name = "工时单位", width = 15, dicCode = "pp_process_time_unit")
	@Dict(dicCode = "pp_process_time_unit")
    @ApiModelProperty(value = "工时单位")
    private java.lang.String timeUnit;
	/**租户ID*/
	@Excel(name = "租户ID", width = 15)
    @ApiModelProperty(value = "租户ID")
    private java.lang.String tenantId;
}
